package com.swagger.demo.admin.bean;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: lbq
 * @email: 526509994@qq.com
 * @date: 2022/9/28
 */
@ApiModel(description = "八种基本类型")
public class BaseTypeBean {

    @ApiModelProperty(value = "char1[排序4]", example = "1", required = true, position = 4)
    private char char1;
    @ApiModelProperty(value = "char2[排序2]", example = "1", required = true, position = 2)
    private Character char2;

    @ApiModelProperty(value = "string[排序3]", example = "1", required = true, position = 3)
    private String string;

    @ApiModelProperty(value = "boolean1[排序1]", example = "true", required = true, position = 1)
    private boolean boolean1;
    @ApiModelProperty(value = "boolean2", example = "false", required = true)
    private Boolean boolean2;

    @ApiModelProperty(value = "byte1", example = "1")
    private byte byte1;
    @ApiModelProperty(value = "byte2", example = "1")
    private Byte byte2;

    @ApiModelProperty(value = "short1", example = "1")
    private short short1;
    @ApiModelProperty(value = "short2", example = "1")
    private Short short2;

    @ApiModelProperty(value = "int1", example = "1")
    private int int1;
    @ApiModelProperty(value = "int2", example = "1")
    private Integer int2;

    @ApiModelProperty(value = "long1", example = "1")
    private long long1;
    @ApiModelProperty(value = "long2", example = "1")
    private Long long2;

    @ApiModelProperty(value = "double1", example = "1")
    private double double1;
    @ApiModelProperty(value = "double2", example = "1")
    private Double double2;

    @ApiModelProperty(value = "float1", example = "1")
    private float float1;
    @ApiModelProperty(value = "float2", example = "1")
    private Float float2;

    @ApiModelProperty(value = "bigDecimal", example = "1")
    private BigDecimal bigDecimal;


}
